package vip.aster.workflow.query;

import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import vip.aster.generator.query.Query;
import vip.aster.workflow.dto.FormItem;

import java.util.List;

/**
 * 流程实例查询
 *
 * @author Aster
 * @since 2024/6/24 15:49
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "流程实例查询")
public class InstanceQuery extends Query {

    @Schema(description = "表单编码")
    private String code;

    @Schema(description = "数据主键")
    private String dataPrimaryKey;

    @Schema(description = "列表列名")
    private List<String> columns;

    @Schema(description = "自定义查询参数")
    private JSONObject customParams;

    @Schema(description = "自定义查询配置")
    private JSONArray customItems;
}
